package com.tuo51.childcare.domain.ptest;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "user_ptest_certificate")
@EqualsAndHashCode(callSuper = true)
@Data
public class PTestCertificate extends Domain {

    @Column(columnDefinition = "varchar(32) COMMENT '用户id'")
    private String uid;

    @Column(columnDefinition = "varchar(32) COMMENT '宝宝id'")
    private String childId;

    @Column(columnDefinition = "varchar(32) COMMENT '宝宝名字'")
    private String childName;

    @Column(columnDefinition = "varchar(32) COMMENT '关系'")
    private String relation;

    @Column(columnDefinition = "varchar(32) COMMENT '标题'")
    private String title;

    @Column(columnDefinition = "varchar(64) COMMENT '子标题'")
    private String subTitle;

    @Column(columnDefinition = "varchar(128) COMMENT '主要内容'")
    private String content;

}
